package com.server.questionbank.snframe.service.CourseService;

import com.server.questionbank.snframe.domain.Course.TKnowledge;
import com.server.questionbank.snframe.domain.QuestionBank.Knowledge;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TKnowledgeService {
    // 根据recordId查询知识点
    public List<Knowledge> getKnowledgeById(Long recordId);

    // 根据courseId查询知识点
    public List<Knowledge> getKnowledgeByCourseId(Long courseId);

    // 根据cameraId查询知识点
    public List<Knowledge> getKnowledgeByCameraId(Long cameraId);

    // 根据courseId和cameraId查询知识点
    public List<Knowledge> getKnowledgeByCourseIdAndCameraId(Long courseId, Long cameraId);

    // 根据quoteRecordId查询知识点
    public List<Knowledge> getKnowledgeByQuoteRecordId(Long quoteRecordId);

    // 根据exercisesId查询知识点
    public List<Knowledge> getKnowledgeByExercisesId(Long exercisesId);

    // 创建知识点
    public Boolean createKnowledge(TKnowledge knowledge);

    // 移除知识点
    public Boolean removeKnowledge(Long recordId);
}
